import React from 'react'
import ReactDOM from 'react-dom/client'
// 样式初始化
import 'reset-css'
// 全局样式
import '../src/assets/style/global.css'

import App from './App'
import { BrowserRouter } from 'react-router-dom'//类似于vue项目中的vue-router


ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </React.StrictMode>,
)